package com.zhuiyi.springbootmybatis.mapper;

import com.zhuiyi.springbootmybatis.entity.Product;
import com.zhuiyi.springbootmybatis.entity.Product;
import org.apache.ibatis.annotations.Mapper;

import java.util.List;

@Mapper
public interface ProductMapper {
     List<Product> getProducts();

     boolean addProduct(Product user);

     boolean delereProductById(int id);

     boolean updateProduct(Product user);

     Product getProductById(int id);

}
